import "antd/es/space/style";
import _Space from "antd/es/space";
import "antd/es/divider/style";
import _Divider from "antd/es/divider";
import "antd/es/typography/style";
import _Typography from "antd/es/typography";
import React from 'react';
import { jsx as _jsx } from "react/jsx-runtime";
var LinkButton = function LinkButton(_ref) {
  var onClick = _ref.onClick,
    children = _ref.children;
  return /*#__PURE__*/_jsx(_Typography.Link, {
    onClick: onClick,
    children: children
  });
};
LinkButton.Group = function (_ref2) {
  var children = _ref2.children,
    _ref2$divider = _ref2.divider,
    divider = _ref2$divider === void 0 ? false : _ref2$divider;
  return /*#__PURE__*/_jsx(_Space, {
    size: divider ? 0 : 'middle',
    split: divider ? /*#__PURE__*/_jsx(_Divider, {
      type: "vertical"
    }) : undefined,
    children: children
  });
};
export default LinkButton;